package com.lx.oms.controller.service;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

import com.lx.oms.common.entity.R;
import com.lx.oms.controller.entity.SysCategoryEntity;

/**
 * 类别
 *
 * @author houzhong
 * 
 */
public interface SysCategoryService {

	List<SysCategoryEntity> listCategoryByParentId(String categoryId);
	
	R listCategoryByParentId(Map<String, Object> params);
	
	R saveCategory(SysCategoryEntity category);
	
	R getCategoryById(BigInteger id);
	
	R updateCategory(SysCategoryEntity category);
	
	R batchRemoveCategory(String[] id);
	
	SysCategoryEntity getCategoryByName(String name);
	
	List<SysCategoryEntity> getCategoryByParentId(String parentId,String type);
	
	
}
